package com.vote.admin.vo.record;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "投票结果数据返回")
@Builder
public class ResultRecord implements Serializable {

    @ApiModelProperty(value = "选项id")
    private Integer id;

    @ApiModelProperty(value = "选项名称")
    private String name;

    @ApiModelProperty(value = "选项图片")
    private String img;

    @ApiModelProperty(value = "投票数值")
    private BigDecimal result;

    @ApiModelProperty(value = "投票数据")
    private String grade;

}
